﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Basic
{
    [Serializable]
    public class DeviceManage
    {
       
        public byte rtuaddr = 1;  
        public string DeviceName="";
        public string devdesc="";
        public int nSampleTime=1000;
        public int nWaitTime=1;
        public List<DevVar> varlist;
        public string databit16 = "AB";
        public string databits32 = "ABCD";
        public string databitsfloat = "ABCD";
        //自定义协议
        public string bProHeadTail = "Y";
        public string bProCheck = "Y";
       
        public DeviceManage()
        {
            varlist = new List<DevVar>();
            
        }

    }
}
